package cn.itcast.service;

import cn.itcast.pojo.Clazz;
import cn.itcast.pojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;

public interface ClazzService extends IService<Clazz> {

    Result addClazz(Clazz clazz);

    Result findAll(String name, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    Result deleteById(Integer id);

    Result selectById(Integer id);

    Result update(Clazz clazz);


    Result searchAll();

}
